#-------------------------------------------------------------------
# This file is part of the CMake build system for MP Galaxy
#     (Multi Player Galaxy Game)
# For the latest info, see http://www.MPG3d.org/
#
# The contents of this file are placed in the public domain. Feel
# free to make use of it in any way you like.
#-------------------------------------------------------------------

######################################################################
# MP-Galaxy BUILD SYSTEM
# Welcome to the CMake build system for MP-Galaxy.
# This is the main file where we prepare the general build environment
# and provide build configuration options.
######################################################################

PROJECT(Util)

set (HEADER_FILES
	ConcurrentList.h
	Logger.h
	Spatial.h
	Timer.h
	Types.h
	vfs.h
)
set (SOURCE_FILES
	Logger.cpp
	Timer.cpp
)

set (OCTREE_FILES
	octree/array.h
	octree/array2d.h
	octree/numtraits.h
	octree/octree.h
	octree/point3d.h
	octree/shareddata.h
	octree/tinyvector.h
	#octree/octtree.tcc
)

include_directories (${MPG_SOURCE_DIR} ${Boost_INCLUDE_DIR})

source_group (octree FILES ${OCTREE_FILES})

add_library (Util STATIC ${HEADER_FILES} ${SOURCE_FILES} ${OCTREE_FILES})
